using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("TouchListScrollbar")]
	public class TouchListScrollbar : PegUIElement
	{
		public TouchList list => method_3<TouchList>("list");

		public PegUIElement thumb => method_3<PegUIElement>("thumb");

		public Transform thumbMin => method_3<Transform>("thumbMin");

		public Transform thumbMax => method_3<Transform>("thumbMax");

		public GameObject cover => method_3<GameObject>("cover");

		public PegUIElement track => method_3<PegUIElement>("track");

		public bool isActive => method_2<bool>("isActive");

		public TouchListScrollbar(IntPtr address, string className)
			: base(address, className)
		{
		}

		public TouchListScrollbar(IntPtr address)
			: this(address, "TouchListScrollbar")
		{
		}

		public new void Awake()
		{
			method_8("Awake");
		}

		public void UpdateActive(bool canScroll)
		{
			method_8("UpdateActive", canScroll);
		}

		public void UpdateLayout()
		{
			method_8("UpdateLayout");
		}

		public void ShowThumb(bool show)
		{
			method_8("ShowThumb", show);
		}

		public void UpdateThumb()
		{
			method_8("UpdateThumb");
		}

		public void ThumbPressed(UIEvent e)
		{
			method_8("ThumbPressed", e);
		}

		public void TrackPressed(UIEvent e)
		{
			method_8("TrackPressed", e);
		}

		public Vector3 GetTouchPoint(Plane dragPlane, Camera camera)
		{
			return method_11<Vector3>("GetTouchPoint", new object[2] { dragPlane, camera });
		}
	}
}
